package com.cmos.service;

import com.cmos.entity.User;
import com.cmos.entity.UserRole;

import java.util.List;

public interface UserService {
    int saveUser(User user);

    int removeUser(String id);

    int changeUser(User user);

    User queryUser(User user);

    List<User> queryAllUser();

    int saveUserRole(List<UserRole> userRoles);

    int removeUserRole(String userId);
}
